//
//  HomeVM.swift
//  Xiaozihui
//
//  Created by 校企荟 on 2017/10/11.
//  Copyright © 2017年 校企荟. All rights reserved.
//

import UIKit

enum HomeCellType :Int {
    case baoxiu = 0
    case xunjian
    case userTool
    case serviceman
    case hitogram
    
    
}

class HomeVM: NSObject {

    //首页轮播图数据
    var cycleImages :[String]
    
    //首页用户端数据
    
    
    //首页维修端数据
    
    
    //首页柱状图数据
    
    
    //首页cell类型数据
    
    var cellTypes :[Int]
    
    override init() {
        
        cycleImages = [String]()
        cellTypes = [Int]()
        super.init()
        
    }
    
    @objc func loginNotification() {
        
    }
    
    func loadData(isSuccess: (_ isSuccess:Bool)->()) {
        
        NetworkManager.sharedManager.request(method: .GET, URLString: GetHomeUrl, parameters: [String:Any]()) { (response, error) in
            
        }
        
    }
    
    
    
}
